package com.elder.business.service;

import java.util.List;

import com.alibaba.fastjson2.JSONArray;
import com.alibaba.fastjson2.JSONObject;
import com.elder.business.domain.ApartmentRoomInfo;
import com.elder.business.domain.ApartmentRoomPrice;
import com.elder.common.core.domain.AjaxResult;
import com.elder.common.core.page.TableDataInfo;

/**
 * 公寓房间信息Service接口
 * 
 * @author elder
 * @date 2023-11-26
 */
public interface IApartmentRoomInfoService 
{
    /**
     * 查询公寓房间信息
     * 
     * @param id 公寓房间信息主键
     * @return 公寓房间信息
     */
    public JSONObject selectApartmentRoomInfoById(Long id);

    /**
     * 查询公寓房间信息列表
     * 公寓房间信息
     * @return 公寓房间信息集合
     */
    public JSONArray selectApartmentRoomInfoList(Long apartmentId, Integer roomType, Integer roomStutas, Integer pageNum, Integer pageSize);

    /**
     * 新增公寓房间信息
     * 
     * @param apartmentRoomInfo 公寓房间信息
     * @return 结果
     */
    public int insertApartmentRoomInfo(ApartmentRoomInfo apartmentRoomInfo);

    /**
     * 修改公寓房间信息
     * 
     * @param apartmentRoomInfo 公寓房间信息
     * @return 结果
     */
    public int updateApartmentRoomInfo(ApartmentRoomInfo apartmentRoomInfo);

    /**
     * 批量删除公寓房间信息
     * 
     * @param ids 需要删除的公寓房间信息主键集合
     * @return 结果
     */
    public int deleteApartmentRoomInfoByIds(Long[] ids);

    /**
     * 删除公寓房间信息信息
     * 
     * @param id 公寓房间信息主键
     * @return 结果
     */
    public int deleteApartmentRoomInfoById(Long id);

    public JSONObject getElderRoomBedInfo(Long apartmentId,Integer roomType, Integer roomStatus, Integer pageNum, Integer pageSize);

    public TableDataInfo getRoomNewPriceInfo();

    public TableDataInfo getApartmentRoomPriceList(Long createTime,String applyStatus);

    public AjaxResult updateRoomPriceInfo(Long roomPriceId,String roomRemark,String roomPrice,String nurseContent,String applyStatus);

    public AjaxResult addRoomPriceInfo(ApartmentRoomPrice apartmentRoomPrice);

    TableDataInfo getRoomInfo();

    TableDataInfo getNurseRoomInfo();
}
